DEPTH          = ../../..
topsrcdir      = @top_srcdir@
srcdir         = @srcdir@
VPATH          = @srcdir@

include $(DEPTH)/config/autoconf.mk

IS_COMPONENT = 1
MODULE = perseus
LIBRARY_NAME =  PERSEUS

XPI_NAME = perseus

#Permet d'utiliser l'api interne de mozilla
#MOZILLA_INTERNAL_API = 1

REQUIRES	= nspr \
			necko \
			xpcom \
			uriloader \
			$(NULL)
CSRCS=\
	perseusHTTP.c\
	perseus.c \
	$(NULL)

CPPSRCS = \
	nsPerseusUtil.cpp \
	nsPerseusObserver.cpp \
	nsPerseusMime.cpp \
	nsPerseusModule.cpp \
	nsPerseusDownloadData.cpp \
	nsPerseusUploadData.cpp \
	nsPerseusCode.cpp \
	$(NULL)

include $(topsrcdir)/config/rules.mk

#LOCAL_INCLUDES += 	$(NULL)

EXTRA_DSO_LDOPTS += \
  $(XPCOM_GLUE_LDOPTS) \
  $(NSPR_LIBS) \
  $(NULL)

